﻿using System;

namespace SortOf
{
    public class LinkedListNode<T> where T : IComparable
    {
        public T Element { get; set; }
        public LinkedListNode<T> Link { get; set; }

        public LinkedListNode()
        {
            Element = default(T);
            Link = null;
        }

        public LinkedListNode(T theElement)
        {
            Element = theElement;
            Link = null;
        }
    }
}
